namespace DesignPattern.Behavioral.ChainOfResponsibility
{
    public class ErrorLogger : AbstractLogger
    {
        public ErrorLogger(int level)
        {
            this.level = level;
        }

        protected override void Write(string message)
        {
            System.Console.WriteLine($"Error logger: {message}");
        }
    }
}